<%@ page language="java" pageEncoding="UTF-8"
	errorPage="../../defaultException.jsp"%>
<%@include file="../../tags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>添加目的地特色信息</title>
<%@include file="../../head.jsp"%>
</head>
<body>
	<form id="fm" method="post" enctype="multipart/form-data">

		<table class="fitem">
			<tr>
				<td><label>所属特色类别Id:</label></td>
				<td><input id="featureCategoryId" name="featureCategoryId"
					required="true" /></td>
			</tr>
			<tr>
				<td><label>特色项总数：</label>
				</td>
				<td><input type="text" name="featureItemCount"
					class="easyui-validatebox" validType="numberbox">
				</td>
			</tr>
			<tr>
				<td><label>提示信息：</label>
				</td>
				<td><input type="text" name="featureTip">
				</td>
			</tr>
			<tr>
				<td>版权：</td>
				<td><input name="copyright"
					data-options="validType:'length[0,64]'" class="easyui-validatebox">
				</td>

			</tr>
			<tr>
				<td><label>图片:</label></td>
				<td><input name="imagepart" type="file" size="53"
					class="easyui-validatebox" required="true"></td>
			</tr>
			<tr>
				<td><label>描述摘要:</label></td>
				<td><textarea name="summary" id="featureSummary"
						data-options="validType:'length[0,64]'" class="easyui-validatebox"
						style="width: 392px; height: 80px" /></td>
			</tr>
			<tr>
				<td><label>特色描述:</label></td>
				<td><textarea name="content" id="featureDesc"
						data-options="validType:'length[0,2048]'"
						class="easyui-validatebox" style="width: 392px; height: 80px" /></td>
			</tr>
		</table>
	</form>

	<script type="text/javascript">
		//初始化目的地特色类别信息
		$('#featureCategoryId').combobox({
			url : '${cpath }/admin/dest/feature/allcategory/list',
			valueField : 'featureCategoryId',
			textField : 'featureCategoryName',
			editable : false
		});

		$('#featureDesc').ceditor();
		$('#featureSummary').ceditor();
	</script>
	<style type="text/css">
#fm {
	margin: 0;
	padding: 40px 40px;
}

.ftitle {
	font-size: 14px;
	font-weight: bold;
	padding: 5px 0;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
}

.fitem {
	margin-bottom: 5px;
}

.fitem label {
	display: inline-block;
	width: 90px;
}
</style>
</body>
</html>